package com.ruoyi.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.system.domain.SysOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.vo.req.order.*;
import com.ruoyi.system.vo.resp.SysOrderRespVo;
import com.ruoyi.system.vo.resp.SysOrderSpeedRespVO;

import java.text.ParseException;
import java.util.HashMap;
import java.util.List;

/**
* @author xdh
* @description 针对表【sys_order】的数据库操作Service
* @createDate 2024-07-01 17:59:34
*/
public interface SysOrderService extends IService<SysOrder> {

    IPage<SysOrderRespVo> listPage(OrderSelectRequestVO req);

    List<SysOrderRespVo> synerList(Integer orderId);


    HashMap<String,Integer> insert(OrderStrikeRequestVO requestVO);

    OrderStrikeResponseVO detail(Integer orderId);


    Boolean dispense(OrderDispenseRequestVO requestVO);


    List<OrderDeptResponseVO> deptListById();

    OrderResponseVO data();

    List<OrderDataResponseVO> data12() throws ParseException;

    SysOrderSpeedRespVO speed(Integer orderId);
}
